/********************************************************************
	copyright (c) by tnmujoy
    @created:	9/22/2011   16:10
    @filename: 	TjException
    @author:	Limiko Lau (limiko.lau@gmail.com)
    @brief:	    
*********************************************************************/

#ifndef URANUS_TJEXCEPTION_H_
#define URANUS_TJEXCEPTION_H_

namespace tnmujoy
{
namespace uranus
{

class TjException : public QtConcurrent::Exception
{
public:
    void raise() const { throw *this; }
    Exception *clone() const { return new TjException(*this); }
};

}//namespace uranus
}//namespace tnmujoy

#endif //URANUS_TJEXCEPTION_H_

//
//History:
//[9/22/2011] <limiko.lau@gmail.com> created